<template>
    <input type="button" value="兄弟组件传值" @click="sendMsg">
</template>

<script>
    export default {
        name: "About",

        data() {
            return {
                msg: '兄弟组件传递值'
            }
        },
        methods: {
            sendMsg() {
                this.$EventBus.$emit('send',this.msg)
            }
        }

    }
</script>

<style scoped>

</style>